import React from 'react';
import { Actions } from 'react-native-router-flux';
import Icon from '../../../../components/NavBarIconBtn';

export default ({ policy, customerId }) => {
  return (
    <Icon
      name="edit"
      onPress={() => Actions.editFamilyPolicy({ policy, customerId })}
    />
  );
};
